<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>

<head>
	<meta charset="UTF-8">
	<title>注册</title>

	<!--引入jquery-->
	<script src="${pageContext.request.contextPath }/js/jquery-3.3.1.js" type="text/javascript" charset="utf-8"></script>
	<!--引入bootsrap-->
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/css/bootstrap.css"/>
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/css/bootstrap-theme.css"/>
	<script src="${pageContext.request.contextPath }/js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
	<script src="${pageContext.request.contextPath }/js/npm.js" type="text/javascript" charset="utf-8"></script>
	
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/css/user/regist.css"/>
		
		
	
		
</head>

<body>
	
		
<!--logo-->
	<div class="container logo">
		<img src="${pageContext.request.contextPath }/img/user/Logo.png"/>
	</div>
	
	<div class="container-fluid regist">				
		<div class="container main">				
			<h3>用户注册</h3>	
			<br /><br />
			
			<form class="form-horizontal" action="${pageContext.request.contextPath }/UserServlet?action=regist" 
						method="post" >
			 	<div class="form-group">
			    	<label for="username" class="col-sm-2 control-label">用户名</label>
				    <div class="col-sm-6">
				      <input id="pname" name="pname" type="text" class="form-control" placeholder="请输入用户名" autofocus="autofocus">
				    </div>
				    <label id="usnameExit" for="username" class="control-label nameresult"></label>
				  </div>
				  
				  
				  <div class="form-group">
			    	<label for="usermobile" class="col-sm-2 control-label">请输入电话号码</label>
				    <div class="col-sm-6">
				      <input id="usmobile" name="pmoblie" type="text" class="form-control" placeholder="请输入电话号码" autofocus="autofocus">
				    </div>
				    <label id="usmobileExit" for="usermobile" class="control-label mobileresult"></label>
				  </div>
				  
				 
			   	<div class="form-group">
				    <label for="inputPassword3" class="col-sm-2 control-label">密码</label>
				    <div class="col-sm-6">
				      <input name="ppassword" type="password" class="form-control" placeholder="请输入密码">
				    </div>
				  </div>
			   	<div class="form-group">
				    <label for="confirmpwd" class="col-sm-2 control-label">确认密码</label>
				    <div class="col-sm-6">
				      <input type="password" class="form-control" placeholder="请输入确认密码">
				    </div>
				</div>
				
			
				
				<br /><br />
			 		
			  	<div class="form-group">
				    <div class="col-sm-offset-2 col-sm-6">
				      <button type="submit" class="btn btn-primary btn-lg btn-block btn-danger">马上注册</button>
				    </div>
				</div>
			 
			 	<br />
			 	<br />
			 	
			</form>
		</div>			
	</div>
		
	<jsp:include page="/user/footed.jsp"></jsp:include>
</body>

</html>